<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01_浮动布局</title>
    <style>
        .fu {
            background-color: yellow;
            /*overflow: hidden;*/
            height: 100px;
        }
        .fu>div {
            width: 100px;
            height: 100px;
        }
        .z1 {
            background-color: red;
            float: left;
            /*float: right;*/
        }
        .z2 {
            background-color: green;
            float: left;
            /*float: right;*/
        }
        .z3 {
            background-color: blue;
            float: left;
            /*float: right;*/
        }
    </style>
</head>
<body>
    <div class="fu">
        <div class="z1">111</div>
        <div class="z2">222</div>
        <div class="z3">333</div>
    </div>
</body>
</html>